Skip to content

prevent IndexError on out-of-order stream events #2852#2863

Open
amirhosseinghanipour wants to merge 1 commit intoopenai:mainfrom
amirhosseinghanipour:fix/responses-stream-index-error
Open

prevent IndexError on out-of-order stream events #2852#2863
amirhosseinghanipour wants to merge 1 commit intoopenai:mainfrom
amirhosseinghanipour:fix/responses-stream-index-error

Conversation

@amirhosseinghanipour
Copy link

adds bounds checks in accumulate_event and handle_event to guard output_index / content_index access in the responses streaming accumulator #2852

@amirhosseinghanipour amirhosseinghanipour requested a review from a team as a code owner February 12, 2026 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant